remove non-ascii characters python

34

encoded_string = string_with_nonASCII.encode("ascii", "ignore")

Comments

Submit
0 Comments